package com.tyqx.hashchainbiz.service.impl;

import com.tyqx.hashchainbiz.service.HashChainCountService;
import com.tyqx.hashchaindao.mapper.HashChainCountMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("hashChainCountService")
public class HashChainCountServiceImpl implements HashChainCountService {

    @Resource
    private HashChainCountMapper hashChainCountMapper;

    @Override
    public Integer getHashChainCountByUserName(String userName) {
        return hashChainCountMapper.getHashChainCountByUserName(userName);
    }
}
